{{#required}}{{^useNullableForNotNull}}
  @NotNull
{{/useNullableForNotNull}}{{/required}}
{{#useNullableForNotNull}}{{^nullable}}
  @NotNull
{{/nullable}}{{/useNullableForNotNull}}
{{#is this 'container'}}
{{#isNot this 'primitive-type'}}
{{#isNot this 'enum'}}
  @Valid
{{/isNot}}
{{/isNot}}
{{/is}}
{{#isNot this 'container'}}
{{#isNot this 'primitive-type'}}
  @Valid
{{/isNot}}
{{/isNot}}
{{>beanValidationCore}}
